<template>
    <div class="data-collection-page page-wrap">
        <!--        头部-->
        <container></container>
        <!-- 右侧内容区域 -->
        <div class="content-panel">
            <home-message></home-message>
        </div>
        <!--    底部-->
        <bottom-tip></bottom-tip>
    </div>
</template>

<script>
    import { wxLogin } from '@/api';
    import homeMessage from "@/views/homePage/homeMessage.vue";
    import Container from "@/components/Container";
    import BottomTip from "@/components/BottomTip";
    import { parseTime } from "@/utils/index.js";
   
    export default {
        components: {
            homeMessage,
            Container,
            BottomTip
        },
        data() {
            return {
                // 当前时间
                nowTime: "",
            };
        },
        computed: {
            selected() {
                return this.$store.getters.selected;
            }
        },
        mounted() {
            this.nowTime = parseTime(new Date());
        },
        created(){

//    })
        },
        methods:{
            // 获取列表
            async getMessage(k = {}) {
                const res = await wxLogin(k);
                console.log(res)
                // if (res.status == 200) {
                //     console.log(res)

                // }
            }
        }
    };
</script>

<style lang="less" scoped>
    .content-panel{
        width: 100%;
        height:calc(100% - 80px)

    }

</style>